/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 * Author: Huawei OS Kernel Lab
 * Create: Thu Aug 15 16:14:23 2023
 */

#ifndef __LIBLINUX_ASM_ELF_H
#define __LIBLINUX_ASM_ELF_H

#include_next <asm/elf.h>

#ifdef CONFIG_ARM64
# define R_AARCH64_ADR_GOT_PAGE		311
# define R_AARCH64_LD64_GOT_LO12_NC	312
#endif

#define ELF64_R_INFO(sym, type)		(((sym) << 32) + (type))

#endif
